package lupita.model.vos;

import java.io.Serializable;


public abstract class Word implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1300880586991478119L;

	private Long id;
	
	private String name;
	
	private Integer counter;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name.toLowerCase();
	}

	public Integer getCounter() {
		return counter;
	}

	public void setCounter(Integer counter) {
		this.counter = counter;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public void increaseCounter(){
		this.counter++;
	}

}
